<!DOCTYPE html>
<html>
<head>
	<#include 'head.html'>
	<title></title>
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/index.css">
</head>
<body id="index" class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header" >
		<div class="layui-logo layui-bg-black">后台</div>
				<ul class="layui-nav layui-layout-right">
					<li class="layui-nav-item"><a href=""><i class="layui-icon layui-icon-notice"></i></a></li>
					<li class="layui-nav-item">
					    <a href="#"><img src="//t.cn/RCzsdCq" class="layui-nav-img">我</a>
					    <dl class="layui-nav-child">
					      <dd><a href="${request.contextPath}/logout" >注销</a></dd>
					    </dl>
					 </li>
				</ul>
		</div>
		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll">						
				<ul class="layui-nav layui-nav-tree" lay-shrink="all" lay-filter="test">

						<li data-name="food" class="layui-nav-item">
						<a href="javascript:;" >
							<i class="layui-icon layui-icon-fire">
								<cite>事件</cite>
							</i>
						</a>
						<dl class="layui-nav-child">
							<dd><a href="#/event">事件管理</a></dd>						
						</dl>
						<dl class="layui-nav-child">
							<dd><a href="#/uri">uri管理</a></dd>						
						</dl>
						<dl class="layui-nav-child">
							<dd><a href="#/site">网站管理</a></dd>						
						</dl>
						<dl class="layui-nav-child">
							<dd><a href="#/subject">组织管理</a></dd>						
						</dl>
					</li>
					<li data-name="food" class="layui-nav-item">
						<a href="javascript:;" >
							<i class="layui-icon layui-icon-fire">
								<cite>食品</cite>
							</i>
						</a>
						<dl class="layui-nav-child">
							<dd><a href="#/food">食物管理</a></dd>
							<dd><a href="#/foodType">类型管理</a></dd>
							<dd><a href="#/producer">商家管理</a></dd>
							<dd><a href="#/brand">品牌管理</a></dd>
							<dd><a href="#/taste">味道管理</a></dd>
							<dd><a href="#/expire">期限管理</a></dd>
							<dd><a href="#/unit">单位管理</a></dd>
							<dd><a href="#/storeMethod">保存方法管理</a></dd>
							<dd><a href="#/productCode">产品码管理</a></dd>
						</dl>
					</li>
					<li data-name="user" class="layui-nav-item">
						<a href="javascript:;" >
							<i class="layui-icon layui-icon-user">
								<cite>用户</cite>
							</i>
						</a>
						<dl class="layui-nav-child">
							<dd><a href="#/user">用户管理</a></dd>
							<dd><a href="#/role">角色管理</a></dd>
							<dd><a href="#/permission">权限管理</a></dd>
						</dl>
					</li>
					<@shiro.hasPermission name="ADMIN">
					<li data-name="auz" class="layui-nav-item">
						<a href="#/authorization" >
							<i class="layui-icon layui-icon-auz">
								<cite>授权</cite>
							</i>
						</a>						
					</li>
					</@shiro.hasPermission>
					<@shiro.hasRole name="DEBUG">
					<li data-name="test" class="layui-nav-item">
						<a href="#/test" >
							<i class="layui-icon layui-icon-auz">
								<cite>测试</cite>
							</i>
						</a>						
					</li>
					</@shiro.hasRole>
				</ul>
			</div>
		</div>
		<div class="layui-body" style="overflow-y:hidden;">
			<iframe id="iframe" src="" frameborder="0" height="100%" width="100%" >
			</iframe>
		</div>
		<div class="layui-footer">
			@ bill.com - ema 
		</div>
	</div>
</body>
<script type="text/javascript" src="${request.contextPath}/js/index.js"></script>
</html>